// components/hot-item/hot-item.js
Component({
  properties:{
    itemData:{
      type: Object,
      value: {}
    }
  },
  methods:{
    onMenuItemTap(){
      const id = this.properties.itemData.id
      wx.navigateTo({
        url: `/pages/song-detail/song-detail?type=menu&id=${id}`,
      })
    }
  }
})
